<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="robots" content="noodp" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
        <title>redis配置文件 - 豆是不吃豆豉</title><meta name="Description" content="豆是不吃豆豉"><meta property="og:title" content="redis配置文件" />
<meta property="og:description" content="redis 存储单位 1 2 3 4 5 6 7 # 1k =&gt; 1000 bytes # 1kb =&gt; 1024 bytes # 1m =&gt; 1000000 bytes # 1mb =&gt; 1024*1024 bytes # 1g =&gt; 1000000000 bytes # 1gb =&gt; 1024*1024*1024 bytes 1 配置大小单位,只支持bytes，不支持bit并且对大小" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://dou-chi.gitee.io/redis%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6/" />
<meta property="og:image" content="https://dou-chi.gitee.io/logo.png"/>
<meta property="article:published_time" content="2019-12-15T11:28:25+00:00" />
<meta property="article:modified_time" content="2019-12-15T11:28:25+00:00" />
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:image" content="https://dou-chi.gitee.io/logo.png"/>

<meta name="twitter:title" content="redis配置文件"/>
<meta name="twitter:description" content="redis 存储单位 1 2 3 4 5 6 7 # 1k =&gt; 1000 bytes # 1kb =&gt; 1024 bytes # 1m =&gt; 1000000 bytes # 1mb =&gt; 1024*1024 bytes # 1g =&gt; 1000000000 bytes # 1gb =&gt; 1024*1024*1024 bytes 1 配置大小单位,只支持bytes，不支持bit并且对大小"/>
<meta name="application-name" content="豆是不吃豆豉">
<meta name="apple-mobile-web-app-title" content="豆是不吃豆豉"><meta name="theme-color" content="#ffffff"><meta name="msapplication-TileColor" content="#da532c"><link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
        <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
        <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"><link rel="manifest" href="/site.webmanifest"><link rel="canonical" href="https://dou-chi.gitee.io/redis%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6/" /><link rel="prev" href="https://dou-chi.gitee.io/redis%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B%E5%92%8C%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/" /><link rel="next" href="https://dou-chi.gitee.io/redis%E6%8C%81%E4%B9%85%E5%8C%96/" /><link rel="stylesheet" href="/lib/normalize/normalize.min.css"><link rel="stylesheet" href="/css/style.min.css"><link rel="stylesheet" href="/lib/fontawesome-free/all.min.css"><link rel="stylesheet" href="/lib/animate/animate.min.css"><script type="application/ld+json">
    {
        "@context": "http://schema.org",
        "@type": "BlogPosting",
        "headline": "redis配置文件",
        "inLanguage": "zh-CN",
        "mainEntityOfPage": {
            "@type": "WebPage",
            "@id": "https:\/\/dou-chi.gitee.io\/redis%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6\/"
        },"genre": "posts","keywords": "redis, redis配置文件","wordcount":  2070 ,
        "url": "https:\/\/dou-chi.gitee.io\/redis%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6\/","datePublished": "2019-12-15T11:28:25+00:00","dateModified": "2019-12-15T11:28:25+00:00","publisher": {
            "@type": "Organization",
            "name": ""},"author": {
                "@type": "Person",
                "name": "豆是不吃豆豉"
            },"description": ""
    }
    </script></head>
    <body header-desktop="fixed" header-mobile="auto"><script type="text/javascript">(window.localStorage && localStorage.getItem('theme') ? localStorage.getItem('theme') === 'dark' : ('dark' === 'auto' ? window.matchMedia('(prefers-color-scheme: dark)').matches : 'dark' === 'dark')) && document.body.setAttribute('theme', 'dark');</script>

        <div id="mask"></div><div class="wrapper"><header class="desktop" id="header-desktop">
    <div class="header-wrapper">
        <div class="header-title">
            <a href="/" title="豆是不吃豆豉">豆是不吃豆豉</a>
        </div>
        <div class="menu">
            <div class="menu-inner"><a class="menu-item" href="/posts/"> 所有文章 </a><a class="menu-item" href="/tags/"> 标签 </a><a class="menu-item" href="/categories/"> 分类 </a><a class="menu-item" href="https://github.com/dou-chi" rel="noopener noreffer" target="_blank"> github </a><a class="menu-item" href="https://gitee.com/dou-chi" rel="noopener noreffer" target="_blank"> gitee </a><span class="menu-item delimiter"></span><span class="menu-item search" id="search-desktop">
                        <input type="text" placeholder="搜索文章标题或内容..." id="search-input-desktop">
                        <a href="javascript:void(0);" class="search-button search-toggle" id="search-toggle-desktop" title="搜索">
                            <i class="fas fa-search fa-fw"></i>
                        </a>
                        <a href="javascript:void(0);" class="search-button search-clear" id="search-clear-desktop" title="清空">
                            <i class="fas fa-times-circle fa-fw"></i>
                        </a>
                        <span class="search-button search-loading" id="search-loading-desktop">
                            <i class="fas fa-spinner fa-fw fa-spin"></i>
                        </span>
                    </span><a href="javascript:void(0);" class="menu-item theme-switch" title="切换主题">
                    <i class="fas fa-adjust fa-fw"></i>
                </a>
            </div>
        </div>
    </div>
</header><header class="mobile" id="header-mobile">
    <div class="header-container">
        <div class="header-wrapper">
            <div class="header-title">
                <a href="/" title="豆是不吃豆豉">豆是不吃豆豉</a>
            </div>
            <div class="menu-toggle" id="menu-toggle-mobile">
                <span></span><span></span><span></span>
            </div>
        </div>
        <div class="menu" id="menu-mobile"><div class="search-wrapper">
                    <div class="search mobile" id="search-mobile">
                        <input type="text" placeholder="搜索文章标题或内容..." id="search-input-mobile">
                        <a href="javascript:void(0);" class="search-button search-toggle" id="search-toggle-mobile" title="搜索">
                            <i class="fas fa-search fa-fw"></i>
                        </a>
                        <a href="javascript:void(0);" class="search-button search-clear" id="search-clear-mobile" title="清空">
                            <i class="fas fa-times-circle fa-fw"></i>
                        </a>
                        <span class="search-button search-loading" id="search-loading-mobile">
                            <i class="fas fa-spinner fa-fw fa-spin"></i>
                        </span>
                    </div>
                    <a href="javascript:void(0);" class="search-cancel" id="search-cancel-mobile">
                        取消
                    </a>
                </div><a class="menu-item" href="/posts/" title="">所有文章</a><a class="menu-item" href="/tags/" title="">标签</a><a class="menu-item" href="/categories/" title="">分类</a><a class="menu-item" href="https://github.com/dou-chi" title="" rel="noopener noreffer" target="_blank">github</a><a class="menu-item" href="https://gitee.com/dou-chi" title="" rel="noopener noreffer" target="_blank">gitee</a><a href="javascript:void(0);" class="menu-item theme-switch" title="切换主题">
                <i class="fas fa-adjust fa-fw"></i>
            </a></div>
    </div>
</header>
<div class="search-dropdown desktop">
    <div id="search-dropdown-desktop"></div>
</div>
<div class="search-dropdown mobile">
    <div id="search-dropdown-mobile"></div>
</div>
<main class="main">
                <div class="container"><div class="toc" id="toc-auto">
            <h2 class="toc-title">目录</h2>
            <div class="toc-content always-active" id="toc-content-auto"></div>
        </div><article class="page single"><h1 class="single-title animated flipInX">redis配置文件</h1><div class="post-meta">
            <div class="post-meta-line"><span class="post-author"><a href="/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw"></i>豆是不吃豆豉</a></span>&nbsp;<span class="post-category">收录于 <a href="/categories/redis/"><i class="far fa-folder fa-fw"></i>redis</a></span></div>
            <div class="post-meta-line"><i class="far fa-calendar-alt fa-fw"></i>&nbsp;<time datetime="2019-12-15">2019-12-15</time>&nbsp;<i class="fas fa-pencil-alt fa-fw"></i>&nbsp;约 2070 字&nbsp;
                <i class="far fa-clock fa-fw"></i>&nbsp;预计阅读 5 分钟&nbsp;</div>
        </div><div class="details toc" id="toc-static"  kept="">
                <div class="details-summary toc-title">
                    <span>目录</span>
                    <span><i class="details-icon fas fa-angle-right"></i></span>
                </div>
                <div class="details-content toc-content" id="toc-content-static"><nav id="TableOfContents">
  <ul>
    <li><a href="#redis-存储单位">redis 存储单位</a></li>
    <li><a href="#includes-包含">INCLUDES 包含</a></li>
    <li><a href="#network">NETWORK</a>
      <ul>
        <li><a href="#tcp-backlog">tcp-backlog</a></li>
        <li><a href="#bind">bind</a></li>
        <li><a href="#protected-mode">protected-mode</a></li>
        <li><a href="#port">port</a></li>
        <li><a href="#timeout">timeout</a></li>
        <li><a href="#tcp-keepalive">tcp-keepalive</a></li>
      </ul>
    </li>
    <li><a href="#general-常用">GENERAL 常用</a>
      <ul>
        <li><a href="#daemonize">daemonize</a></li>
        <li><a href="#loglevel">loglevel</a></li>
        <li><a href="#logfile">logfile</a></li>
        <li><a href="#syslog-enabled">syslog-enabled</a></li>
        <li><a href="#syslog-ident">syslog-ident</a></li>
        <li><a href="#syslog-facility">syslog-facility</a></li>
        <li><a href="#databases">databases</a></li>
      </ul>
    </li>
    <li><a href="#security-安全">SECURITY 安全</a></li>
    <li><a href="#limits-限制">LIMITS 限制</a>
      <ul>
        <li><a href="#maxclients">maxclients</a></li>
        <li><a href="#maxmemory">maxmemory</a></li>
        <li><a href="#maxmemory-policy">maxmemory-policy</a></li>
        <li><a href="#maxmemory-samples">maxmemory-samples</a></li>
      </ul>
    </li>
  </ul>
</nav></div>
            </div><div class="content" id="content"><h1 id="redis-存储单位">redis 存储单位</h1>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span><span class="lnt">6
</span><span class="lnt">7
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-shell" data-lang="shell"><span class="c1"># 1k =&gt; 1000 bytes</span>
<span class="c1"># 1kb =&gt; 1024 bytes</span>
<span class="c1"># 1m =&gt; 1000000 bytes</span>
<span class="c1"># 1mb =&gt; 1024*1024 bytes</span>
<span class="c1"># 1g =&gt; 1000000000 bytes</span>
<span class="c1"># 1gb =&gt; 1024*1024*1024 bytes</span>

</code></pre></td></tr></table>
</div>
</div><p>1  配置大小单位,只支持bytes，不支持bit并且对大小写不敏感。</p>
<!-- more -->
<h1 id="includes-包含">INCLUDES 包含</h1>
<p>该配置下可以配置包含一个或多个配置文件，例如：</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-fallback" data-lang="fallback">include /path/to/local.conf
include /path/to/other.conf
</code></pre></td></tr></table>
</div>
</div><h1 id="network">NETWORK</h1>
<h2 id="tcp-backlog">tcp-backlog</h2>
<p>设置tcp的backlog，backlog其实是一个连接队列，backlog队列总和=未完成三次握手队列 + 已经完成三次握手队列。
在高并发环境下你需要一个高backlog值来避免慢客户端连接问题。注意Linux内核会将这个值减小到/proc/sys/net/core/somaxconn的值，所以需要确认增大somaxconn和tcp_max_syn_backlog两个值
来达到想要的效果</p>
<h2 id="bind">bind</h2>
<p>绑定端口或这ip,后可跟一个或多个IP地址</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-fallback" data-lang="fallback">bind 192.168.1.100 10.0.0.1
bind 127.0.0.1 ::1
</code></pre></td></tr></table>
</div>
</div><p>在默认情况下，强制Redis只监听IPv4环回接口地址（即本机），这意味着Redis将能够只接受<strong>运行在同一台计算机上的客户端的连接</strong>，如果要解除该限制，只需要将bind修改或注释即可。</p>
<h2 id="protected-mode">protected-mode</h2>
<p>保护模式模式，避免外部直接访问redis实例，当启用该模式时，如果出现以下两种情况</p>
<ol>
<li>未启用<code>bind</code>命令</li>
<li>未配置密码
则只能通过IPv4环回接口地址访问redis服务。</li>
</ol>
<h2 id="port">port</h2>
<p>配置redis服务端口</p>
<h2 id="timeout">timeout</h2>
<p>在客户端空闲N秒后关闭连接（0表示没有限制）</p>
<h2 id="tcp-keepalive">tcp-keepalive</h2>
<p>检测tcp的存活状态的周期，单位为秒，如果设置为0，则不会进行Keepalive检测。主要有两个作用</p>
<ol>
<li>检测同伴的死亡。</li>
<li>从网络的角度看存活的连接。
从Redis 3.2.1开始，默认设置为300秒</li>
</ol>
<h1 id="general-常用">GENERAL 常用</h1>
<h2 id="daemonize">daemonize</h2>
<p>配置redis是否以守护进程的方式运行，配置<code>yes</code>或<code>no</code>,如果是守护进程的方式运行，Redis将在/var/run/Redis.pid中写入一个pid文件</p>
<h2 id="loglevel">loglevel</h2>
<p>日志的级别，主要有以下几个级别</p>
<table>
<thead>
<tr>
<th>级别</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>debug</td>
<td>产生大量的日志信息，对开发/测试有用</td>
</tr>
<tr>
<td>verbose</td>
<td>许多信息很少有用，但不像调试级别那样混乱</td>
</tr>
<tr>
<td>notice</td>
<td>信息量适中，可能是生产中需要的</td>
</tr>
<tr>
<td>warning</td>
<td>仅记录非常重要/关键的消息</td>
</tr>
</tbody>
</table>
<h2 id="logfile">logfile</h2>
<p>指定日志文件名。也可以使用空字符串强制Redis以登录标准输出。请注意，如果使用标准日志记录输出，守护进程下，日志将发送到/dev/null</p>
<h2 id="syslog-enabled">syslog-enabled</h2>
<p>是否把日志输出到syslog中</p>
<h2 id="syslog-ident">syslog-ident</h2>
<p>指定syslog里的日志标识</p>
<h2 id="syslog-facility">syslog-facility</h2>
<p>指定syslog设备，值可以是USER或LOCAL0-LOCAL7</p>
<h2 id="databases">databases</h2>
<p>指定数据库的数量，默认是16</p>
<h1 id="security-安全">SECURITY 安全</h1>
<p>在访问任何命令之前需要输入密码<code>AUTH PASSWORD </code>,可以使用<code>config get requirepass</code>命令查看密码，使用<code>config set requirepass password</code>设置密码</p>
<h1 id="limits-限制">LIMITS 限制</h1>
<h2 id="maxclients">maxclients</h2>
<p>设置redis同时可以与多少个客户端进行连接。默认情况下为10000个客户端。当你无法设置进程文件句柄限制时，redis会设置为当前的文件句柄限制值减去32，因为redis会为自身内部处理逻辑留一些句柄出来。如果达到了此限制，redis则会拒绝新的连接请求，并且向这些连接请求方发出“max number of clients reached”以作回应。</p>
<h2 id="maxmemory">maxmemory</h2>
<p>设置redis可以使用的内存量。一旦到达内存使用上限，redis将会试图移除内部数据，移除规则可以通过maxmemory-policy来指定。如果redis无法根据移除规则来移除内存中的数据，或者设置了“不允许移除”，
那么redis则会针对那些需要申请内存的指令返回错误信息，比如SET、LPUSH等。
但是对于无内存申请的指令，仍然会正常响应，比如GET等。如果你的redis是主redis（说明你的redis有从redis），那么在设置内存使用上限时，需要在系统中留出一些内存空间给同步队列缓存，只有在你设置的是“不移除”的情况下，才不用考虑这个因素。</p>
<h2 id="maxmemory-policy">maxmemory-policy</h2>
<p>内存到达上限，数据移除策略。主要有以下几个策略</p>
<table>
<thead>
<tr>
<th>策略</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>volatile-lru</td>
<td>使用LRU算法移除key，只对设置了过期时间的键</td>
</tr>
<tr>
<td>allkeys-lru</td>
<td>使用LRU算法移除key</td>
</tr>
<tr>
<td>volatile-lfu</td>
<td>使用LRU算法移除key，只对设置了过期时间的键</td>
</tr>
<tr>
<td>allkeys-lfu</td>
<td>使用LRU算法移除key</td>
</tr>
<tr>
<td>volatile-random</td>
<td>在过期集合中移除随机的key，只对设置了过期时间的键</td>
</tr>
<tr>
<td>allkeys-random</td>
<td>移除随机的key</td>
</tr>
<tr>
<td>volatile-ttl</td>
<td>移除那些TTL值最小的key，即那些最近要过期的key</td>
</tr>
<tr>
<td>noeviction</td>
<td>不进行移除。针对写操作，只是返回错误信息</td>
</tr>
</tbody>
</table>
<p><strong>相关算法说明：</strong>
lru：（Least Recently Used）如果一个数据在最近一段时间没有被访问到，那么可以认为在将来它被访问的可能性也很小。因此，当空间满时，最久没有访问的数据最先被置换（淘汰）。
fifo：如果一个数据是最先进入的，那么可以认为在将来它被访问的可能性很小。空间满的时候，最先进入的数据会被最早置换（淘汰）掉。
lfu: (Least Frequently Used) 如果一个数据在最近一段时间很少被访问到，那么可以认为在将来它被访问的可能性也很小。因此，当空间满时，最小频率访问的数据最先被淘汰。
参考：https://www.cnblogs.com/hongdada/p/10406902.html</p>
<h2 id="maxmemory-samples">maxmemory-samples</h2>
<p>过期策略算法的样本数量。LRU和最小的TTL算法不是精确的算法，而是近似算法（为了节省内存），所以你可以调整它的速度或精度。默认情况下，Redis将检查5个键并选择最近使用较少的键。默认值5产生足够好的结果。10非常接近，但是比较消耗cpu。3更快，但不太准确</p>
</div><div class="post-footer" id="post-footer">
    <div class="post-info">
        <div class="post-info-line">
            <div class="post-info-mod">
                <span>更新于 2019-12-15</span>
            </div>
            <div class="post-info-license"></div>
        </div>
        <div class="post-info-line">
            <div class="post-info-md"><span>
                            <a class="link-to-markdown" href="/redis%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6/index.md" target="_blank">阅读原始文档</a>
                        </span></div>
            <div class="post-info-share">
                <span><a href="javascript:void(0);" title="分享到 Twitter" data-sharer="twitter" data-url="https://dou-chi.gitee.io/redis%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6/" data-title="redis配置文件" data-hashtags="redis,redis配置文件"><i class="fab fa-twitter fa-fw"></i></a><a href="javascript:void(0);" title="分享到 Facebook" data-sharer="facebook" data-url="https://dou-chi.gitee.io/redis%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6/" data-hashtag="redis"><i class="fab fa-facebook-square fa-fw"></i></a><a href="javascript:void(0);" title="分享到 WhatsApp" data-sharer="whatsapp" data-url="https://dou-chi.gitee.io/redis%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6/" data-title="redis配置文件" data-web><i class="fab fa-whatsapp fa-fw"></i></a><a href="javascript:void(0);" title="分享到 Line" data-sharer="line" data-url="https://dou-chi.gitee.io/redis%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6/" data-title="redis配置文件"><i data-svg-src="/lib/simple-icons/icons/line.min.svg"></i></a><a href="javascript:void(0);" title="分享到 微博" data-sharer="weibo" data-url="https://dou-chi.gitee.io/redis%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6/" data-title="redis配置文件"><i class="fab fa-weibo fa-fw"></i></a><a href="javascript:void(0);" title="分享到 Myspace" data-sharer="myspace" data-url="https://dou-chi.gitee.io/redis%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6/" data-title="redis配置文件" data-description=""><i data-svg-src="/lib/simple-icons/icons/myspace.min.svg"></i></a><a href="javascript:void(0);" title="分享到 Blogger" data-sharer="blogger" data-url="https://dou-chi.gitee.io/redis%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6/" data-title="redis配置文件" data-description=""><i class="fab fa-blogger fa-fw"></i></a><a href="javascript:void(0);" title="分享到 Evernote" data-sharer="evernote" data-url="https://dou-chi.gitee.io/redis%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6/" data-title="redis配置文件"><i class="fab fa-evernote fa-fw"></i></a></span>
            </div>
        </div>
    </div>

    <div class="post-info-more">
        <section class="post-tags"><i class="fas fa-tags fa-fw"></i>&nbsp;<a href="/tags/redis/">redis</a>,&nbsp;<a href="/tags/redis%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6/">redis配置文件</a></section>
        <section>
            <span><a href="javascript:void(0);" onclick="window.history.back();">返回</a></span>&nbsp;|&nbsp;<span><a href="/">主页</a></span>
        </section>
    </div>

    <div class="post-nav"><a href="/redis%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B%E5%92%8C%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/" class="prev" rel="prev" title="redis数据类型和常用命令"><i class="fas fa-angle-left fa-fw"></i>redis数据类型和常用命令</a>
            <a href="/redis%E6%8C%81%E4%B9%85%E5%8C%96/" class="next" rel="next" title="redis持久化">redis持久化<i class="fas fa-angle-right fa-fw"></i></a></div>
</div>
<div id="comments"></div></article></div>
            </main><footer class="footer">
        <div class="footer-container"><div class="footer-line">由 <a href="https://gohugo.io/" target="_blank" rel="noopener noreffer" title="Hugo 0.74.3">Hugo</a> 强力驱动 | 主题 - <a href="https://github.com/dillonzq/LoveIt" target="_blank" rel="noopener noreffer" title="LoveIt 0.2.10"><i class="far fa-kiss-wink-heart fa-fw"></i> LoveIt</a>
                </div><div class="footer-line"><i class="far fa-copyright fa-fw"></i><span itemprop="copyrightYear">2019 - 2021</span><span class="author" itemprop="copyrightHolder">&nbsp;<a href="/" target="_blank">豆是不吃豆豉</a></span></div>
        </div>
    </footer></div>

        <div id="fixed-buttons"><a href="#" id="back-to-top" class="fixed-button" title="回到顶部">
                <i class="fas fa-arrow-up fa-fw"></i>
            </a><a href="#" id="view-comments" class="fixed-button" title="查看评论">
                <i class="fas fa-comment fa-fw"></i>
            </a>
        </div><link rel="stylesheet" href="/lib/katex/katex.min.css"><link rel="stylesheet" href="/lib/katex/copy-tex.min.css"><link rel="stylesheet" href="/lib/cookieconsent/cookieconsent.min.css"><script type="text/javascript" src="/lib/smooth-scroll/smooth-scroll.min.js"></script><script type="text/javascript" src="/lib/autocomplete/autocomplete.min.js"></script><script type="text/javascript" src="/lib/lunr/lunr.min.js"></script><script type="text/javascript" src="/lib/lunr/lunr.stemmer.support.min.js"></script><script type="text/javascript" src="/lib/lunr/lunr.zh.min.js"></script><script type="text/javascript" src="/lib/lazysizes/lazysizes.min.js"></script><script type="text/javascript" src="/lib/clipboard/clipboard.min.js"></script><script type="text/javascript" src="/lib/sharer/sharer.min.js"></script><script type="text/javascript" src="/lib/katex/katex.min.js"></script><script type="text/javascript" src="/lib/katex/auto-render.min.js"></script><script type="text/javascript" src="/lib/katex/copy-tex.min.js"></script><script type="text/javascript" src="/lib/katex/mhchem.min.js"></script><script type="text/javascript" src="/lib/cookieconsent/cookieconsent.min.js"></script><script type="text/javascript">window.config={"code":{"copyTitle":"复制到剪贴板","maxShownLines":100},"comment":{},"cookieconsent":{"content":{"dismiss":"同意","link":"了解更多","message":"本网站使用 Cookies 来改善您的浏览体验."},"enable":true,"palette":{"button":{"background":"#f0f0f0"},"popup":{"background":"#1aa3ff"}},"theme":"edgeless"},"math":{"delimiters":[{"display":true,"left":"$$","right":"$$"},{"display":true,"left":"\\[","right":"\\]"},{"display":false,"left":"$","right":"$"},{"display":false,"left":"\\(","right":"\\)"}],"strict":false},"search":{"highlightTag":"em","lunrIndexURL":"/index.json","lunrLanguageCode":"zh","lunrSegmentitURL":"/lib/lunr/lunr.segmentit.js","maxResultLength":10,"noResultsFound":"没有找到结果","snippetLength":50,"type":"lunr"}};</script><script type="text/javascript" src="/js/theme.min.js"></script></body>
</html>
